package com.gpStudy.design.single;

public enum EnumSingleton {
    INSTANCE,INS;


    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static EnumSingleton getIns(){
        return INS;
    }
    public static EnumSingleton getIns2(){
        return INSTANCE;
    }
}
